var server = require("../services/server.js")

exports.ttt = function (req, res, next) {
    res.setHeader('Access-Control-Allow-Origin', '*');
    res.setHeader('Content-Type', 'application/json; charset=utf-8');
    server.ttt(req, (result) => {
        res.json(result)
    })
}


exports.getindexlist = function (req, res, next) {
    res.setHeader('Access-Control-Allow-Origin', '*');
    res.setHeader('Content-Type', 'application/json; charset=utf-8');
    server.getindexlist(req, (result) => {
        res.json(result)
    })
}